﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<MyHealthByDesignWebsite.Models.HealthProfile>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
    My Health Check
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

<h2>My Health Check</h2>
    <%= Html.ValidationSummary("Please correct the errors and try again.") %>
        <% using (Html.BeginForm()) {%>
            <fieldset>
             <p>
            <label for="U_UserID">UserID:</label>
                <%= Html.TextBox("U_UserID")%>
                <%= Html.ValidationMessage("U_UserID", "*")%>
            </p>
            
            <p>
            <label for="HP_waistCircumference">Waist Circumference:</label>
                <%= Html.TextBox("HP_waistCircumference") %>
                <%= Html.ValidationMessage("HP_waistCircumference", "*")%>
            </p>
            <p>
            <label for="HP_bloodPressureLow">Blood Pressure Low:</label>
                 <%= Html.TextBox("HP_bloodPressureLow")%>
                 <%= Html.ValidationMessage("HP_bloodPressureLow", "*")%>
            </p>
            <p>
            <label for="HP_bloodPressureHigh">Blood Pressure High:</label>
                <%= Html.TextBox("HP_bloodPressureHigh")%>
                <%= Html.ValidationMessage("HP_bloodPressureHigh", "*")%>
            </p>
            <p>
            <label for="HP_heartRate">Heart Rate:</label>
                <%= Html.TextBox("HP_heartRate") %>
                <%= Html.ValidationMessage("HP_heartRate", "*") %>
            </p>
            
            <p>
                <input type="submit" value="Save" />
            </p>
            </fieldset>
            <% } %>

</asp:Content>
